/*
 * Core: General Layout Style
 * -------------------------
 */
body {
    margin: 0;
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #2c3e50;
    background-color: #fff;
}

/* General Links */
a {
  color: #00a65a;
}
a:hover,
a:active,
a:focus {
  outline: none;
  text-decoration: none;
  color: #00c67a;
}

/* ul */
ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* table */
.table {
    margin-top: 15px;
}
.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th {
    border-bottom-width: 1px;
}

/* form */
.js-ajax-form {
	margin-top: 15px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: white;
    color: #333;
    box-shadow: none;
}


/************ navbar ************/
.navbar {
	-webkit-transition: margin-left .3s ease-in-out;
    -o-transition: margin-left .3s ease-in-out;
    transition: margin-left .3s ease-in-out;
    margin-bottom: 0;
    border: none;
    min-height: 50px;
    border-radius: 0;
	background-color: #00a65a;		/* skin */
}


/****** logo ******/
.navbar .logo {
    display: block;
    float: left;
    padding: 0 10px;
	width: 230px;
    font-size: 24px;
    line-height: 48px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 0 #333;
}

.navbar .logo:hover, .navbar .logo:focus {
	background: rgba(0,0,0,0.1);
}


/****** navbar-custom-menu ******/
.navbar-custom-menu {
	float: right;
}

.navbar-custom-menu>.nav>li>a {
    color: #fff;
}

.navbar-custom-menu>.nav>li>a:hover,
.navbar-custom-menu>.nav>li>a:focus,
.navbar-custom-menu>.nav .open>a,
.navbar-custom-menu>.nav .open>a:focus,
.navbar-custom-menu>.nav .open>a:hover {
	background: rgba(0,0,0,0.1);
}

/* user-menu */
.navbar-nav>.user-menu .user-image {
    float: left;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: -2px;
}
.user-menu>.dropdown-menu {
	padding: 0;
    background-color: #00a65a;
    border: none;
    border-radius: 0;
}
.dropdown-menu>li>a {
    display: block;
    padding: 10px;
    clear: both;
    font-weight: normal;
    color: #fff;
    white-space: nowrap;
}

.dropdown-menu>li>a:hover {
    color: #fff;
	background: rgba(0,0,0,0.1);
}



/************ sidebar ************/
.sidebar {
	position: absolute;
	top: 0;
	bottom: 0;
	margin-top: 50px;
    min-height: 100%;
	width: 230px;
	background-color: #f4f4f4;		/* skin */
	border-right: 1px solid #e5e5e5;
}

/* sidebar-menu */
.sidebar-menu>li:first-child {
    border-top: 0;
}
.sidebar-menu>li {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    border-top: 1px solid #fcfcfc;
    border-bottom: 1px solid #e5e5e5;
}

.sidebar-menu>li>a {
    display: block;
    padding: 15px;
    font-size: 14px;
    color: #585858;
    text-decoration: none;
    text-shadow: none !important;
    background-color: #f4f4f4;
}
.sidebar-menu>li>a>[class*="fa-"]:first-child {
    display: inline-block;
    padding-right: 5px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
}
.sidebar-menu>li a>.arrow {
    position: absolute;
    right: 10px;
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
}

.sidebar-menu li.open > a > .fa-caret-left {
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.sidebar-menu>li.open>a {
    color: #00a65a;
    background-color: #fafafa;
}

.sidebar-menu li a:hover {
	color: #00a65a;
	/* background: rgba(0,0,0,0.1); */
}

/* submenu */
.sidebar-menu>li .submenu {
    overflow: hidden;
    position: relative;
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
}

.sidebar-menu>li>.submenu>li:first-child>a {
    border-top: 1px solid #fafafa;
}
.sidebar-menu>li .submenu>li>a {
    position: relative;
    display: block;
    padding: 15px;
    font-size: 14px;
    color: #616161;
    border-top: 1px solid #fcfcfc;
    border-bottom: 1px solid #e5e5e5;
    background: #f4f4f4;
}
.sidebar-menu>li.open .submenu a {
    border-top: 1px solid #f4f4f4;
    border-bottom: none;
    background-color: rgba(255,255,255,0.8);
}

.sidebar-menu>li .submenu>li a>[class*="fa-"]:first-child {
    width: 18px;
    height: auto;
    font-size: 12px;
    font-weight: normal;
    line-height: 12px;
    text-align: center;
}

.sidebar-menu>li .submenu>li>a:hover {
	color: #00a65a;
	/* background: rgba(0,0,0,0.1); */
}



/************ main-content ************/
.main-content {
    margin-left: 230px;
    min-height: 100%;
}



/************ pages common ************/
/* refresh */
.refresh-wrapper {
    position: absolute;
    top: 60px;
    right: 20px;
    z-index: 99;
    cursor: pointer;
}
.btn-refresh {
	color: #00a65a;
}

/* wrap */
.wrap {
	padding: 15px;
}

/* form-search */
.form-search {
    margin-top: 15px;
	margin-bottom: 0;
	padding: 15px;
	border-radius: 0;
	box-shadow: none;
}

/* table-actions */
.table-actions {
    margin-top: 15px;
	padding: 0px;
}

/* table-list */
.table-list input[type=text]{
	padding: 3px;
	width: 40px;
    height: 22px;
    line-height: 22px;
}


/****** main ******/
.home_info li em {
	float: left;
	width: 120px;
	font-style: normal;
}

/****** rbca ******/
.expander {
	margin-left: -20px;
}



/************ misc ************/
/* validate */
.form-required, .tips_error {
	color: red;
}

/* bootstrap ext */
.btn {
	border-radius: 0;
}
.btn-primary {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #00a65a;
	border-color: #00a65a;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
	.btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
	color: #fff;
	background-color: #00c67a;
	border-color: #00c67a;
}

.btn-primary:active, .btn-primary.active {
	background-color: #00c67a;
	border-color: #00c67a;
}

/* p & m */
@media (min-width: 768px) {
	.p-l-15-0 {
	    padding-left: 0px;
	}
}
